Skip to content

Splitting out the generation of the argument parser for the CLI#105

Merged
julianstirling merged 2 commits intomainfrom
split-out-arg-parser
Jun 6, 2025
Merged

Splitting out the generation of the argument parser for the CLI#105
julianstirling merged 2 commits intomainfrom
split-out-arg-parser

Conversation

@julianstirling
Copy link
Copy Markdown
Contributor

The generation of the argument parser is now a seperate function from calling it. This allows downstream programs to add extra functionality to their argument parser if needed.

The generation of the argument parser is now a seperate function from
calling it. This allows downstream programs to add extra functionality
to their argument parser if needed.
@julianstirling julianstirling force-pushed the split-out-arg-parser branch from 73ed435 to 1dfa84a Compare June 5, 2025 10:40
@barecheck
Copy link
Copy Markdown

barecheck bot commented Jun 5, 2025

Barecheck - Code coverage report

Total: 84.09%

Your code coverage diff: 0.01% ▴

Uncovered files and lines
FileLines
src/labthings_fastapi/server/cli.py74

@julianstirling julianstirling changed the title Slitting out the generation of the argument parser for the CLI Splitting out the generation of the argument parser for the CLI Jun 6, 2025
Copy link
Copy Markdown
Collaborator

@JohemianKnapsody JohemianKnapsody left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor change that I think makes it clearer

Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
Copy link
Copy Markdown
Collaborator

@JohemianKnapsody JohemianKnapsody left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With that comment, I understand better what's going on, which seems like a good sign for a comment

@julianstirling julianstirling merged commit a19991b into main Jun 6, 2025
13 checks passed
@julianstirling julianstirling deleted the split-out-arg-parser branch June 6, 2025 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants